package com.house.java.model;

import java.sql.Date;

public class News {

	/**
	 * 
新闻的标题  NEWS_TITLE
新闻的作者 NEWS_AUTHOR
新闻的日期	NEWS_DATE
新闻的出处	NEWS_SOURCE
新闻的主分类	NEWS_MAIN_CATEGORY
新闻的次分类	NEWS_SECOND_CATEGORY
新闻的摘要	NEWS_DIGEST
新闻的内容	NEWS_BODY
新闻属于的国家	NEWS_COUNTRY_CODE
新闻属于的省份	NEWS_PROVINCE_CODE
新闻属于的城市	NEWS_CITY_CODE
	 */
	private Long id;
	private String title;// 新闻标题
	private String author;// 新闻作者
	private Date date;// 新闻发布日期
	private String source;// 新闻来源
	private Integer mainCategory;// 新闻主分类code
	private Integer secondCategory;// 新闻次分类code
	private String digest;// 新闻摘要
	private String body;// 新闻正文
	private Integer countryCode;// 新闻国家CODE
	private Integer provinceCode;// 新闻省份CODE
	private Integer cityCode;// 新闻城市CODE
	private String images;//图片保存的路径
	
	public Long getId() {
		return id;
	}
	public void setId(Long id) {
		this.id = id;
	}
	public String getTitle() {
		return title;
	}
	public void setTitle(String title) {
		this.title = title;
	}
	public String getAuthor() {
		return author;
	}
	public void setAuthor(String author) {
		this.author = author;
	}
	public Date getDate() {
		return date;
	}
	public void setDate(Date date) {
		this.date = date;
	}
	public String getSource() {
		return source;
	}
	public void setSource(String source) {
		this.source = source;
	}
	
	public Integer getMainCategory() {
		return mainCategory;
	}
	public void setMainCategory(Integer mainCategory) {
		this.mainCategory = mainCategory;
	}
	public Integer getSecondCategory() {
		return secondCategory;
	}
	public void setSecondCategory(Integer secondCategory) {
		this.secondCategory = secondCategory;
	}
	public String getDigest() {
		return digest;
	}
	public void setDigest(String digest) {
		this.digest = digest;
	}
	public String getBody() {
		return body;
	}
	public void setBody(String body) {
		this.body = body;
	}
	public Integer getCountryCode() {
		return countryCode;
	}
	public void setCountryCode(Integer countryCode) {
		this.countryCode = countryCode;
	}
	public Integer getProvinceCode() {
		return provinceCode;
	}
	public void setProvinceCode(Integer provinceCode) {
		this.provinceCode = provinceCode;
	}
	public Integer getCityCode() {
		return cityCode;
	}
	public void setCityCode(Integer cityCode) {
		this.cityCode = cityCode;
	}
	public String getImages() {
		return images;
	}
	public void setImages(String images) {
		this.images = images;
	}
	
}
